package com.hgkj.cloud.base.dao;

import com.hgkj.cloud.base.domain.TenantPsychologicalAcvitity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TenantPsychologicalAcvitityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TenantPsychologicalAcvitity record);

    int insertSelective(TenantPsychologicalAcvitity record);

    TenantPsychologicalAcvitity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantPsychologicalAcvitity record);

    int updateByPrimaryKey(TenantPsychologicalAcvitity record);

    List<Map<String, Object>> listPsychologicalAcvitity(Map<String, Object> map);

    Map<String, Object> getPsychologicalAcvitityByid(long id);

    long listPsychologicalAcvitityCount(Map<String, Object> map);

    int delPsychologicalAcvitity(Long id);

    List<Map<String, Object>> getPsychologicalAcvititystatistics(Map<String, Object> map);

    List<Map<String, Object>> statMonthActivity(Map<String, Object> map);

    List<Map<String, Object>> statAreaActivity(Map<String, Object> map);

    List<Map<String, Object>> statTypeActivity(Map<String, Object> map);
}